package com.xyht.sca_s.student_manage_system.modules.asset.entity.resp;

import com.baomidou.mybatisplus.annotation.FieldFill;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableLogic;
import com.baomidou.mybatisplus.annotation.TableName;
import com.fasterxml.jackson.annotation.JsonFormat;
import com.xyht.sca_s.student_manage_system.modules.user.entity.resp.SmsSearchUserResp;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.EqualsAndHashCode;

import java.io.Serializable;
import java.util.Date;

/**
 * <p>
 * 物资采购申请审批节点表
 * </p>
 *
 * @author XYHT
 * @since 2024-09-19
 */
@Data
@EqualsAndHashCode(callSuper = false)
@TableName("sms_asset_material_procurement_apply_process_detail")
@ApiModel(value="SmsAssetMaterialProcurementApplyProcessDetail对象", description="物资采购申请审批节点表")
public class SmsAssetMaterialProcurementApplyProcessDetailResp implements Serializable {

    private static final long serialVersionUID = 1L;

    @ApiModelProperty(value = "物资采购申请审批节点id")
    private String id;

    @ApiModelProperty(value = "申请表id")
    private String applyId;

    @ApiModelProperty(value = "流程对象id")
    private String processDetailObjectId;

    @ApiModelProperty(value = "流程对象类型：1：个人，2角色")
    private Integer processDetailObjectType;

    @ApiModelProperty(value = "流程对象姓名")
    private String objectName;

    @ApiModelProperty(value = "流程对象头像")
    private String objectPic;

    @ApiModelProperty(value = "流程排序")
    private Integer processDetailSort;

    @ApiModelProperty(value = "审批人id")
    private String allowUserId;

    @ApiModelProperty(value = "审批人信息")
    private SmsSearchUserResp allowUserInfo;

    @ApiModelProperty(value = "结束时间")
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss", timezone = "GMT+8")
    private Date endTime;

    @ApiModelProperty(value = "审批状态 0：审批中，1：通过，2：驳回，3：撤回结束，4：驳回结束")
    private Integer processDetailStatus;

    @ApiModelProperty(value = "审批备注")
    private String processDetailRemark;

    @ApiModelProperty(value = "签名")
    private String processDetailSign;

    @ApiModelProperty(value = "印章")
    private String processDetailStamp;

    @ApiModelProperty(value = "是否签名  0：不签名   1：签名")
    private Integer processDetailIsSign;

    @ApiModelProperty(value = "是否盖章 0：不盖章   1：盖章")
    private Integer processDetailIsStamp;

    @ApiModelProperty(value = "流程节点申请人是否可编辑  0：不可编辑  1：可编辑")
    private Integer processDetailIsApplicantEdit;

    @ApiModelProperty(value = "流程节点是否启用  0：不启用  1：启用")
    private Integer processDetailIsUse;

}
